git提交失败

工程项目是存于码云 上,不知道是长时间不提交的原因,还是什么情况,今天提交新版本的时候,报错了。

屏幕快照

查看了文章给出的解决办法,然后再git教程找到了解决办法:

1
2
3
git push origin HEAD:master
Push the current branch to the remote ref matching master in the origin repository. This form is convenient to push the current branch without thinking about its local name.